﻿<UserControl xmlns:dataInput="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input"  x:Class="Sparkle.SL.Demo.UI.Shell"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:Host="clr-namespace:Sparkle.Hosting;assembly=SparkleWpfHosting"
    xmlns:Local="clr-namespace:Sparkle.SL.Demo.UI"
    mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480">
    <UserControl.Background>
        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            <GradientStop Color="#FF83BBF4" Offset="0"/>
            <GradientStop Color="#FF83BBF4" Offset="0.992"/>
            <GradientStop Color="#FF2873BE" Offset="0.085"/>
        </LinearGradientBrush>
    </UserControl.Background>
  <Grid x:Name="LayoutRoot">
        <Grid.ColumnDefinitions>
            <ColumnDefinition  Width="200" />
            <ColumnDefinition  Width="*" />
            <ColumnDefinition  Width="200" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="50"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <StackPanel Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3"  Orientation="Horizontal" Margin="5,5,5,5">
            <dataInput:Label HorizontalAlignment="Left" Width="Auto" Content="Sparkel Dynamic UI Generation Demo" FontWeight="Bold" Foreground="#FFFFFFFF" FontSize="24" FontFamily="Corbel"/>
            <dataInput:Label HorizontalAlignment="Left" Width="Auto" Content="QuickStart" FontWeight="Normal" Foreground="#FFFFFFFF" FontSize="24" FontFamily="Corbel"/>
        </StackPanel>
        <Border Grid.Row="1" Grid.Column="0" >
            <StackPanel Width="Auto" Height="Auto" Margin="1,1,1,1">
                <Local:QuickLink x:Name="LinkedFileMenu" Height="275" Width="180"></Local:QuickLink>
                <Local:ReportLink x:Name="LinkedLocalReportMenu" Height="275" Width="180"></Local:ReportLink>
            </StackPanel>
        </Border>

        <Border Margin="10,5,10,10" Grid.Row="1" Grid.Column="1" CornerRadius="4,4,4,4" BorderBrush="#FF0F68A6" Background="#FFFCFCFC" BorderThickness="2,2,2,2" Width="Auto" Height="Auto" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
            <StackPanel Width="Auto" Height="Auto" Margin="1,1,1,1">
                <Host:HostingPanel x:Name="MainHostingPanel" HorizontalAlignment="Stretch"  VerticalAlignment="Stretch" Height="445" Width="761.25">
                </Host:HostingPanel>
            </StackPanel>
        </Border>

        <Border Grid.Row="1" Grid.Column="2" >
            <StackPanel Width="Auto" Height="Auto" Margin="1">
                <Local:QuickLink x:Name="QuickLinkMenu" Height="275" Width="180"></Local:QuickLink>
                <Local:ReportLink x:Name="ReportLinkMenu" Height="275" Width="180"></Local:ReportLink>
            </StackPanel>
        </Border>
  </Grid>
</UserControl>
